/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package core;

/**
 *
 * @author Flavio
 */
public class TuppleSender {

    private ProtocolSD proto;
    private int key;

    public TuppleSender(int key, ProtocolSD proto){
        this.proto = proto;
        this.key = key;
    }

    public ProtocolSD getProtocol(){
        return proto;
    }

    public int getKey(){
        return key;
    }
}
